home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
PROGNG_C
/
DBTOOLC.LZH
/
LC.ARC
/
README.LC
< prev
Wrap
Text File
|
1987-09-16
|
2KB
|
55 lines
This file contains instructions for using the Lattice C, version
3.0, to re-create DCT1.EXE.
The only files supplied on the disk are the source code files, and
two library files: LC_CATCH.LIB and DCTMISC.LIB. The source files are
in the \SOURCE directory, while the library files are contained in
the \LC directory. All remaining library files must be recreated by
recompiling the appropriate source code files, and then using a
librarian compatible with your compiler to combine the object files
into a library. The examples below assume you are using PLINK86 for
your librarian.
1. Set your INCLUDE environment variable:
set INCLUDE=\lc;\lc\l
2. Make DCT1.OBJ by recompiling DCT1.C:
lc -ml -dLARGE -dLC3 dct1
3. Make DCT1.LIB as follows:
A. Recompile the source files:
lc -ml -dLARGE -dLC3 dbarray
lc -ml -dLARGE -dLC3 dbstat
lc -ml -dLARGE -dLC3 dbfin
B. Make the library file DCT1.LIB:
Using PLIB86:
BUILD DCT1.LIB
FI DBFIN.OBJ
FI DBSTAT.OBJ
FI DBARRAY.OBJ
4. Make DCTSCRN.LIB as follows:
A. Recompile the source files:
lc -ml -i\lc\ -i\lc\l -dLARGE -dLC3 dctmsg
lc -ml -i\lc\ -i\lc\l -dLARGE -dLC3 putwindo
lc -ml -i\lc\ -i\lc\l -dLARGE -dLC3 savwindo
lc -ml -i\lc\ -i\lc\l -dLARGE -dLC3 rstwindo
B. Make the library file dctscrn.lib:
(This example uses PLIB86. Your librarian may differ)
build dctscrn.lib
fi dctmsg.obj
fi putwindo.obj
fi savwindo.obj
fi rstwindo.obj
5. Make DCT1.EXE by linking all the files together:
link \lc\l\c+dct1,dct1,,lc_catch+dct1+dctscrn+dctmisc+
\lc\l\lcm+\lc\l\lc
Note: if you are using version 3.0 or later of LINK.EXE, you
must specify an adequately large number of segments, as in
the following command:
link /SEGMENTS:512 \lc\l\c+dct1,dct1,,lc_catch+dct1+
dctscrn+dctmisc+\lc\l\lcm+\lc\l\lc